package com.sun.eureka.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.sun.eureka.api.hystric.CustomerServiceHystric;

@FeignClient(value="micro-customer-server",fallback=CustomerServiceHystric.class)
public interface ICustomerService {
	
	@RequestMapping("/hello")
	String hello(@RequestParam(value="name") String name);
	
}
